package com.systop.asset.entity;

/**
 * 审批模板对象 process_template
 *
 * @author mu
 * @date 2025-06-24
 */
public class ProcessTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模板id */
    private Long id;

    /** 流程名称 */
    private String templateName;

    /** 流程类型 */
    private String templateType;

    /** 流程定义key */
    private String processDefinitionKey;

    /** 流程部署Id */
    private String deploymentId;

    /** 版本号 */
    private String processVersion;

    /** 流程定义上传路径 */
    private String processDefinitionPath;

    /** 描述 */
    private String description;

    /** 状态0开启1关闭 */
    private Integer status;

    public String getDeploymentId() {
        return deploymentId;
    }

    public void setDeploymentId(String deploymentId) {
        this.deploymentId = deploymentId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public ProcessTemplate() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getTemplateType() {
        return templateType;
    }

    public void setTemplateType(String templateType) {
        this.templateType = templateType;
    }

    public String getProcessDefinitionKey() {
        return processDefinitionKey;
    }

    public void setProcessDefinitionKey(String processDefinitionKey) {
        this.processDefinitionKey = processDefinitionKey;
    }

    public String getProcessVersion() {
        return processVersion;
    }

    public void setProcessVersion(String processVersion) {
        this.processVersion = processVersion;
    }

    public String getProcessDefinitionPath() {
        return processDefinitionPath;
    }

    public void setProcessDefinitionPath(String processDefinitionPath) {
        this.processDefinitionPath = processDefinitionPath;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public ProcessTemplate(Long id, String templateName, String templateType, String processDefinitionKey,
                           String processVersion, String processDefinitionPath, String description, Integer status) {
        this.id = id;
        this.templateName = templateName;
        this.templateType = templateType;
        this.processDefinitionKey = processDefinitionKey;
        this.processVersion = processVersion;
        this.processDefinitionPath = processDefinitionPath;
        this.description = description;
        this.status = status;
    }
}